package com.suxin.socket.yinfei.handler.chain;

/**
 * @author Tang
 * @classname Chain1
 * @description [  ]
 * @date 2021/8/19 22:50
 */
public class Chain2 extends AbstractChainMessageHandler {

    public Chain2(AbstractChainMessageHandler chainMessageHandler) {
        super(chainMessageHandler);
    }

    @Override
    protected Object doChainHandler(Object msg) {
        System.out.println("chain2...");
        return "Chain2 " + msg;
    }
}